body ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 2px!important;
    height: 2px!important;
}

body {
    font-family: "Source Han Serif SC", Manuale, "Consolas", "Noto Serif CJK SC", "Songti SC", STSong, serif, PingFangSC-Light, PingFangTC-Light, sans-serif, Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol!important;
}



.link {
    color: #2c3e50;
}

#main {
    height: 100%;
    background-size: contain;
    margin: 0!important;
    background-repeat: no-repeat;
    background-position: right bottom;
}

#main .grid {
    margin: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}

#main .list .item .link {
    color: #80ac7b;
}

#main .list .item .link:hover {
    color: #2c3e50;
}

#main .poetry .card {
    border-radius: 0;
}

#main .weapp-wrapper {
    display: flex;
    flex-flow: row wrap;
}

#main .weapp-wrapper .item {
    padding: 16px;
}

#main .weapp-wrapper img {
    width: 200px;
}

.link.under {
    border-bottom: 1px solid #2c3e50;
}

.link:hover {
    color: #80ac7b;
}


#main .grid .column {
    height: 100%;
    padding: 0;
}

#main #detail .cover {
    height: 80%;
    width: 80%;
    background-size: cover;
    background-position: center center;
    /*box-shadow: 0 0 1px grey;*/
    background-image: url('/assets/images/thumb.jpg');
    margin: auto;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
}

#main #detail .cover .intro {
    width: 100%;
    text-align: right;
    margin: auto;
    position: absolute;
    bottom: 2em;
    right: 0em;
}

#main #detail .cover .intro .inner {
    background: rgba(0, 0, 0, 0.3686274509803922);
    color: #fff;
    width: auto;
    padding: .715em 1em;
    display: inline-block;
    font-size: 12px;
}

#main #detail .cover .intro .inner a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

#main #detail .cover .intro .inner a:hover {
    color: #fdf1db;
}

#main #detail .you .list .item {
    padding: 0;
    padding-top: 1em;
    padding-bottom: 1em;
}

#main #detail .you {
   /* background-image: url('/assets/images/bg.png'); */
    color: #333;
}

#main #detail .poetry {
    -ms-overflow-style: none;
    height: 80%;
    width: 80%;
    margin: auto;
    width: 80%;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    overflow: auto;
    border: 1px solid #eee;
    background: rgba(255, 255, 255, 0.8);
}

#main #detail .poetry .inner-wrapper {
    padding: 1em;
}

#main #detail .title {
    letter-spacing: 2px;
    font-size: 2.315rem;
    font-weight: 300;
    line-height: 2em;
}

#main #detail .author {
    padding-top: .5em;
    padding-bottom: .5em;
    color: #ccc;
    letter-spacing: 2px;
    font-size: 1.315rem;
    font-weight: 300;
    line-height: 1.8;
}


#main .content {
    letter-spacing: 2px;
    font-size: 1.315rem;
    font-weight: 300;
    line-height: 1.8em;
}

#main .projects .content p {
    margin: 0;
}

#main .card .content {
    padding: 14px 16px;
}

#main .card .content .name {
    letter-spacing: 2px;
    font-size: 1.315rem;
    font-weight: 300;
    line-height: 1.8em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#main .card .content .url {
    font-size: 14px;
    opacity: 0.4;
    letter-spacing: 1px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#main .content p {
    line-height: 1.8285em;
}

#main #detail .line{
    height: 2px;
    width: 8em;
    background: #333;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#main #detail .line.left {
    margin-left: 1rem;
}

#main #detail .line.right {
    margin-right: 1rem;
}

#main #detail .meta {
    text-align: right;
}


#main .meta {
    text-align: right;
}


#main #detail .notes {
    padding-left: 1em;
}

#main .mobile {
    display: none;
}

#main .mobile {
    padding-left: 0!important;
    padding-right: 0!important;
    height: auto!important;
    padding-top: 1em!important;
    background: rgba(255, 255, 255, 0.9);
}

#main #detail .bottom {
    padding: .6em!important;
    background: #333;
    color: #fff;
    text-align: center;
}

#main .mobile .end {
    padding: 1em;
    text-align: center;
}

#footer {
    padding: 1em;
    background: #80ac7b;
    text-align: center;
}

#jinrishici-sentence {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

#jinrishici-tag {
    position: absolute;
    font-size: 98px;
    font-weight: 800;
    opacity: 0.1;
    text-align: center;
    width: 100%;
    right: 0;
    left: 0;
    text-shadow: 2px 0px #333;;
}


.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {

  0%,
  100% {
    transform: rotate(0)
  }

  20%,
  60% {
    transform: rotate(-25deg)
  }

  40%,
  80% {
    transform: rotate(10deg)
  }
}

@media (max-width:500px) {
  .github-corner:hover .octo-arm {
    animation: none
  }

  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #main #detail .ui.three.cards>.card {
        width: calc(50% - 2em);
    }
}


@media only screen and (max-width: 767px) {
    #main #detail .poetry {    
        width: 100%;
        overflow: visible;
        height: auto;
        position: static;
    }

    #main .weapp-wrapper img {
        width: 100%;
    }

    #main .mobile {
        display: block;
    }

    #main #detail .cover {
        width: 100%;
        height: 100%;
    }

    #main #detail .zuo {
        height: 450px;
    }

    #main {
        background-position: right 450px;
    }

    #main #detail .poetry {
        border: 0;
    }

    #main #detail .you {
        padding: 0em!important;
        height: auto;
    }

    #main {
        background-repeat: round;
        height: auto;
    }
    
    #main .grid {
        margin: 0;
        height: auto;
    }

}

@media print and (orientation:portrait) {
    #main #detail .poetry {    
        width: 100%;
        overflow: unset;
        height: auto;
        position: unset;
        border: 0;
    }

    #main #detail .cover {
        width: 100%;
        height: 100%;
    }

    #main .grid .column {
        width: 100%;
    }

    #main #detail .you {
        height: auto;
        min-height: calc(100% - 450px);
    }

    #main #detail .zuo {
        height: 450px;
    }

    #main {
        background-position: right 450px;
    }
}


@media print and (orientation:landscape) {
    #main .grid .column {
        width: 50%;
    }

    #main #detail .ui.three.cards>.card {
        width: calc(50% - 2em);
    }

    #main #detail .cover {
        width: 100%;
        height: 80%;
    }

    #main #detail .poetry {    
        width: 100%;
        overflow: auto;
        height: 80%;
    }
}


@media print {
    #main #notes {
        display: none;
    }

    #main .cover .intro {
        display: none;
    }

    #main #detail .inner-wrapper {
        padding: 0;
    }
}

